package com.mxfcode.back.mapper;

import com.mxfcode.entity.BBSAnswerQuestions;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author moxiufeng
 * @date 2021/4/22 22:07
 */
@Repository
public interface BackAnswerQuestionsMapper {
    List<BBSAnswerQuestions> getAnswerQuestionsList(String userId);

    int insertAnswerQuestions(BBSAnswerQuestions answerQuestions);

    int updateAnswerQuestions(BBSAnswerQuestions answerQuestions);

    int del(String id);

    BBSAnswerQuestions getAnswerQuestionsById(int id);
}
